package main.java.Learn;

import main.java.Learn.comm.Student;
import main.java.Learn.reflcet.Reflect;

import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.Map;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) throws IllegalAccessException {
        Student student = new Student("蔡汶良", 24, (byte) 0);
        Reflect reflect = new Reflect(student);
        Map<String, Object> objFieldsValues = reflect.getObjFieldsValues();
        System.out.println(objFieldsValues);
        System.out.println(reflect.getObjMethodsDetails());
    }
}
